# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit
pkgver=3.0.1
pkgrel=2
pkgdesc='Templated convergent controls and multi-platform utilities for Maui applications'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(gcc-libs
         glibc
         kcoreaddons5
         ki18n5
         kirigami2
         knotifications5
         kwindowsystem5
         libxcb
         mauiman
         qt5-base
         qt5-declarative
         qt5-quickcontrols2
         qt5-svg
         qt5-x11extras)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('abfd89308dd3686f4fc3580b71ffa6eba536d4ad2d7726c79c62f23147d09d6e')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
